//
//  UUSupplierPeakSeasonAddRequestModel.m
//  UUCharterSupplier
//
//  Created by ZhangAo on 21/03/2018.
//  Copyright © 2018 UUCharter. All rights reserved.
//

#import "UUSupplierPeakSeasonAddRequestModel.h"

@implementation UUSupplierPeakSeasonAddRequestModel

- (NSString *)url {
    return @"peakSeason";
}

- (DKHTTPMethod)HTTPMethod {
    return DKHTTPMethodPost;
}

@end

@implementation UUSupplierPeakSeasonUpdateRequestModel

- (instancetype)init {
    self = [super init];
    if (self) {
        [self addIgnoredObjects:@[@"peakSeasonId"]];
    }
    return self;
}

- (NSString *)url {
    return [NSString stringWithFormat:@"peakSeason/%@", self.peakSeasonId];
}

- (DKHTTPMethod)HTTPMethod {
    return DKHTTPMethodPut;
}

@end
